// TermCreateCommand.java
package com.tbynet.jwp.repository.dto.command;

import java.io.Serializable;
import java.math.BigInteger;

/**
 * 创建分类项命令DTO
 * 对应WordPress的wp_insert_term函数参数
 */
public class TermCreateCommand implements Serializable {
    private static final long serialVersionUID = 1L;

    // 分类项名称
    private String name;

    // 分类项别名
    private String slug;

    // 分类法类型：category, post_tag, nav_menu, post_format
    private String taxonomy;

    // 父级分类项ID
    private BigInteger parentId;

    // 分类项描述
    private String description;

    // 创建用户ID
    private BigInteger userId;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSlug() {
        return slug;
    }

    public void setSlug(String slug) {
        this.slug = slug;
    }

    public String getTaxonomy() {
        return taxonomy;
    }

    public void setTaxonomy(String taxonomy) {
        this.taxonomy = taxonomy;
    }

    public BigInteger getParentId() {
        return parentId;
    }

    public void setParentId(BigInteger parentId) {
        this.parentId = parentId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public BigInteger getUserId() {
        return userId;
    }

    public void setUserId(BigInteger userId) {
        this.userId = userId;
    }
}